package edu.spex.yjl.week08.home.unit4.topic_one;

public class Circle {
    private double Radius;

    public Circle(){

    }
    public Circle(double r){
       this.Radius=r;
    }
    public double getArea(){
        return 3.14*Radius*Radius;
    }
    public double getPerimeter(){
        return  2*3.14*Radius;
    }
    public void show(){
        System.out.println("Radius:"+ this.Radius + "Perimeter" + this.getPerimeter() +  "Area"+this.getArea());
    }
}
